home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Over 1,000 Windows 95 Programs
/
Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso
/
0957
/
gnugrep
/
cl
/
grep.mak
< prev
next >
Wrap
Text File
|
1996-06-28
|
9KB
|
310 lines
# Microsoft Developer Studio Generated NMAKE File, Format Version 4.10
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
!IF "$(CFG)" == ""
CFG=Grep - Win32 Debug
!MESSAGE No configuration specified. Defaulting to Grep - Win32 Debug.
!ENDIF
!IF "$(CFG)" != "Grep - Win32 Release" && "$(CFG)" != "Grep - Win32 Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE on this makefile
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "Grep.mak" CFG="Grep - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "Grep - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "Grep - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
################################################################################
# Begin Project
# PROP Target_Last_Scanned "Grep - Win32 Debug"
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "Grep - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Target_Dir ""
OUTDIR=.\Release
INTDIR=.\Release
ALL : "$(OUTDIR)\Grep.exe"
CLEAN :
-@erase "$(INTDIR)\dfa.obj"
-@erase "$(INTDIR)\getopt.obj"
-@erase "$(INTDIR)\grep.obj"
-@erase "$(INTDIR)\kwset.obj"
-@erase "$(INTDIR)\obstack.obj"
-@erase "$(INTDIR)\regex.obj"
-@erase "$(INTDIR)\search.obj"
-@erase "$(OUTDIR)\Grep.exe"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
CPP_PROJ=/nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE"\
/Fp"$(INTDIR)/Grep.pch" /YX /Fo"$(INTDIR)/" /c
CPP_OBJS=.\Release/
CPP_SBRS=.\.
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
BSC32_FLAGS=/nologo /o"$(OUTDIR)/Grep.bsc"
BSC32_SBRS= \
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
odbccp32.lib /nologo /subsystem:console /incremental:no\
/pdb:"$(OUTDIR)/Grep.pdb" /machine:I386 /out:"$(OUTDIR)/Grep.exe"
LINK32_OBJS= \
"$(INTDIR)\dfa.obj" \
"$(INTDIR)\getopt.obj" \
"$(INTDIR)\grep.obj" \
"$(INTDIR)\kwset.obj" \
"$(INTDIR)\obstack.obj" \
"$(INTDIR)\regex.obj" \
"$(INTDIR)\search.obj"
"$(OUTDIR)\Grep.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ELSEIF "$(CFG)" == "Grep - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Target_Dir ""
OUTDIR=.\Debug
INTDIR=.\Debug
ALL : "$(OUTDIR)\Grep.exe"
CLEAN :
-@erase "$(INTDIR)\dfa.obj"
-@erase "$(INTDIR)\getopt.obj"
-@erase "$(INTDIR)\grep.obj"
-@erase "$(INTDIR)\kwset.obj"
-@erase "$(INTDIR)\obstack.obj"
-@erase "$(INTDIR)\regex.obj"
-@erase "$(INTDIR)\search.obj"
-@erase "$(INTDIR)\vc40.idb"
-@erase "$(INTDIR)\vc40.pdb"
-@erase "$(OUTDIR)\Grep.exe"
-@erase "$(OUTDIR)\Grep.ilk"
-@erase "$(OUTDIR)\Grep.pdb"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE"\
/Fp"$(INTDIR)/Grep.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c
CPP_OBJS=.\Debug/
CPP_SBRS=.\.
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
BSC32_FLAGS=/nologo /o"$(OUTDIR)/Grep.bsc"
BSC32_SBRS= \
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
odbccp32.lib /nologo /subsystem:console /incremental:yes\
/pdb:"$(OUTDIR)/Grep.pdb" /debug /machine:I386 /out:"$(OUTDIR)/Grep.exe"
LINK32_OBJS= \
"$(INTDIR)\dfa.obj" \
"$(INTDIR)\getopt.obj" \
"$(INTDIR)\grep.obj" \
"$(INTDIR)\kwset.obj" \
"$(INTDIR)\obstack.obj" \
"$(INTDIR)\regex.obj" \
"$(INTDIR)\search.obj"
"$(OUTDIR)\Grep.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ENDIF
.c{$(CPP_OBJS)}.obj:
$(CPP) $(CPP_PROJ) $<
.cpp{$(CPP_OBJS)}.obj:
$(CPP) $(CPP_PROJ) $<
.cxx{$(CPP_OBJS)}.obj:
$(CPP) $(CPP_PROJ) $<
.c{$(CPP_SBRS)}.sbr:
$(CPP) $(CPP_PROJ) $<
.cpp{$(CPP_SBRS)}.sbr:
$(CPP) $(CPP_PROJ) $<
.cxx{$(CPP_SBRS)}.sbr:
$(CPP) $(CPP_PROJ) $<
################################################################################
# Begin Target
# Name "Grep - Win32 Release"
# Name "Grep - Win32 Debug"
!IF "$(CFG)" == "Grep - Win32 Release"
!ELSEIF "$(CFG)" == "Grep - Win32 Debug"
!ENDIF
################################################################################
# Begin Source File
SOURCE=.\search.c
DEP_CPP_SEARC=\
".\dfa.h"\
".\grep.h"\
".\kwset.h"\
".\regex.h"\
{$(INCLUDE)}"\sys\types.h"\
"$(INTDIR)\search.obj" : $(SOURCE) $(DEP_CPP_SEARC) "$(INTDIR)"
# End Source File
################################################################################
# Begin Source File
SOURCE=.\dfa.c
DEP_CPP_DFA_C=\
".\dfa.h"\
".\regex.h"\
"$(INTDIR)\dfa.obj" : $(SOURCE) $(DEP_CPP_DFA_C) "$(INTDIR)"
# End Source File
################################################################################
# Begin Source File
SOURCE=.\getopt.c
DEP_CPP_GETOP=\
".\getopt.h"\
NODEP_CPP_GETOP=\
".\config.h"\
"$(INTDIR)\getopt.obj" : $(SOURCE) $(DEP_CPP_GETOP) "$(INTDIR)"
# End Source File
################################################################################
# Begin Source File
SOURCE=.\grep.c
DEP_CPP_GREP_=\
".\getopt.h"\
".\grep.h"\
{$(INCLUDE)}"\sys\stat.h"\
{$(INCLUDE)}"\sys\types.h"\
"$(INTDIR)\grep.obj" : $(SOURCE) $(DEP_CPP_GREP_) "$(INTDIR)"
# End Source File
################################################################################
# Begin Source File
SOURCE=.\kwset.c
DEP_CPP_KWSET=\
".\kwset.h"\
".\obstack.h"\
{$(INCLUDE)}"\sys\types.h"\
NODEP_CPP_KWSET=\
".\gstddef.h"\
"$(INTDIR)\kwset.obj" : $(SOURCE) $(DEP_CPP_KWSET) "$(INTDIR)"
# End Source File
################################################################################
# Begin Source File
SOURCE=.\regex.c
DEP_CPP_REGEX=\
".\regex.h"\
{$(INCLUDE)}"\sys\types.h"\
"$(INTDIR)\regex.obj" : $(SOURCE) $(DEP_CPP_REGEX) "$(INTDIR)"
# End Source File
################################################################################
# Begin Source File
SOURCE=.\obstack.c
DEP_CPP_OBSTA=\
".\obstack.h"\
NODEP_CPP_OBSTA=\
".\gstddef.h"\
"$(INTDIR)\obstack.obj" : $(SOURCE) $(DEP_CPP_OBSTA) "$(INTDIR)"
# End Source File
# End Target
# End Project
################################################################################